This post contains references to outdated APIs.
Please read the following for the new APIs: New API for gateway mapping, status and info
Thanks Jeff (appears work site is blocking port 8085 preventing me access)
But I found this works fine for me:
Outputting JSON