Tyk Service Discovery + Consul

Guys, I am trying to follow directions based on docs and other community posts but no luck in Consul Service discovery:

Here is my config:
proxy: {
enable_load_balancing: true,
listen_path: listenPath,
strip_listen_path: stripListenPath,
service_discovery: {
use_discovery_service: true,
query_endpoint: consulConnectionInfo.address + “/v1/catalog/service/” + name,
use_nested_query: false,
port_seperate: false,
data_path: “ServiceAddress”,
use_target_list: true
}
},

Here is the error, any help is appreciated:

time=“Feb 15 21:23:22” level=error msg=“input text could not be parsed”
2017/02/15 21:23:22 http: panic serving 172.19.0.1:56954: runtime error: invalid memory address or nil pointer dereference
goroutine 326399 [running]:
net/http.(*conn).serve.func1(0x14423d16a80)
/usr/local/go/src/net/http/server.go:1491 +0x98
panic(0x8b6460, 0x1442000e030)
/usr/local/go/src/runtime/panic.go:458 +0x4c0
main.(*ServiceDiscovery).ParseObject(0x14422d00740, 0x144228d8360, 0x11a, 0x1442342c400, 0x0, 0x0)
/Users/kartik/gowork/src/github.com/ammaskartik/tyk/service_discovery.go:242 +0x1d0
main.(*ServiceDiscovery).ProcessRawData(0x14422d00740, 0x144228d8360, 0x11a, 0x144228d8360, 0x0, 0x0)
/Users/kartik/gowork/src/github.com/ammaskartik/tyk/service_discovery.go:283 +0x648
main.(*ServiceDiscovery).GetTarget(0x14422d00740, 0x1442400f380, 0x3d, 0x1, 0x0, 0x0)
/Users/kartik/gowork/src/github.com/ammaskartik/tyk/service_discovery.go:309 +0x90
main.GetURLFromService.func1(0x14420409450, 0x0, 0x0)
/Users/kartik/gowork/src/github.com/ammaskartik/tyk/tyk_reverse_proxy_clone.go:37 +0x24c
main.GetURLFromService(0x14422acc960, 0x104b60, 0x0, 0x0)
/Users/kartik/gowork/src/github.com/ammaskartik/tyk/tyk_reverse_proxy_clone.go:67 +0x108
main.TykNewSingleHostReverseProxy.func1(0x144242c32c0)
/Users/kartik/gowork/src/github.com/ammaskartik/tyk/tyk_reverse_proxy_clone.go:174 +0x70
main.(*ReverseProxy).WrappedServeHTTP(0x14423981c80, 0xe6da40, 0x14420184340, 0x144242c30e0, 0x58a4c600, 0x0)
/Users/kartik/gowork/src/github.com/ammaskartik/tyk/tyk_reverse_proxy_clone.go:473 +0x468
main.(*ReverseProxy).ServeHTTP(0x14423981c80, 0xe6da40, 0x14420184340, 0x144242c30e0, 0x14424e569f0)
/Users/kartik/gowork/src/github.com/ammaskartik/tyk/tyk_reverse_proxy_clone.go:385 +0x58
main.(*SuccessHandler).ServeHTTP(0x14420072a18, 0xe6da40, 0x14420184340, 0x144242c30e0, 0x4)
/Users/kartik/gowork/src/github.com/ammaskartik/tyk/handler_success.go:364 +0x410
main.(*DummyProxyHandler).ServeHTTP(0x14420072a18, 0xe6da40, 0x14420184340, 0x144242c30e0)
/Users/kartik/gowork/src/github.com/ammaskartik/tyk/api_loader.go:561 +0x44
main.CreateMiddleware.func1.1(0xe6da40, 0x14420184340, 0x144242c30e0)
/Users/kartik/gowork/src/github.com/ammaskartik/tyk/middleware.go:100 +0x960
net/http.HandlerFunc.ServeHTTP(0x14423981cc0, 0xe6da40, 0x14420184340, 0x144242c30e0)
/usr/local/go/src/net/http/server.go:1726 +0x38
main.CreateMiddleware.func1.1(0xe6da40, 0x14420184340, 0x144242c30e0)
/Users/kartik/gowork/src/github.com/ammaskartik/tyk/middleware.go:100 +0x960
net/http.HandlerFunc.ServeHTTP(0x14423981d00, 0xe6da40, 0x14420184340, 0x144242c30e0)
/usr/local/go/src/net/http/server.go:1726 +0x38
main.CreateMiddleware.func1.1(0xe6da40, 0x14420184340, 0x144242c30e0)
/Users/kartik/gowork/src/github.com/ammaskartik/tyk/middleware.go:100 +0x960
net/http.HandlerFunc.ServeHTTP(0x14423981d40, 0xe6da40, 0x14420184340, 0x144242c30e0)
/usr/local/go/src/net/http/server.go:1726 +0x38
main.CreateMiddleware.func1.1(0xe6da40, 0x14420184340, 0x144242c30e0)
/Users/kartik/gowork/src/github.com/ammaskartik/tyk/middleware.go:100 +0x960
net/http.HandlerFunc.ServeHTTP(0x14423981d80, 0xe6da40, 0x14420184340, 0x144242c30e0)
/usr/local/go/src/net/http/server.go:1726 +0x38
github.com/ammaskartik/tyk/vendor/github.com/gorilla/mux.(*Router).ServeHTTP(0x144202da3c0, 0xe6da40, 0x14420184340, 0x144242c30e0)
/Users/kartik/gowork/src/github.com/ammaskartik/tyk/vendor/github.com/gorilla/mux/mux.go:114 +0x254
net/http.(*ServeMux).ServeHTTP(0x14422dc99e0, 0xe6da40, 0x14420184340, 0x144242c2f00)
/usr/local/go/src/net/http/server.go:2022 +0x178
net/http.serverHandler.ServeHTTP(0x144206e8300, 0xe6da40, 0x14420184340, 0x144242c2f00)
/usr/local/go/src/net/http/server.go:2202 +0x154
net/http.(*conn).serve(0x14423d16a80, 0xe6e9c0, 0x14424ea4e40)
/usr/local/go/src/net/http/server.go:1579 +0xda8
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2293 +0x470

Fixed. So it seems unless all properties possible are passed it fails even if not used.