Adding json output to (finally) turn on the RESTful API