Added error on default json output as well as ability to request other data via GET