Added JSON output. Added Xively proxies.