allow for json output from the API for an event