CORD-270 CORD-444 added REST API to get list of switches and addded switches to MAAS

Change-Id: I0f1778b835fed947e19ace4ecff4900d72b405b6
diff --git a/switchq/address.go b/switchq/address.go
index 8354f59..081afe8 100644
--- a/switchq/address.go
+++ b/switchq/address.go
@@ -36,9 +36,9 @@
 }
 
 type AddressRec struct {
-	Name string
-	IP   string
-	MAC  string
+	Name string `json:"name"`
+	IP   string `json:"ip"`
+	MAC  string `json:"mac"`
 }
 
 type AddressSource interface {