Fixed small bugs.

Requests module .json attribute is NOT a method, but the path requested caused that to fail. Fixed the API request path. Also fixed the popping of command data in the JSON API.