Added a way of outputting json

Will do this if you go to appAddr/api
Need to somehow have access to the Crimes class in the server, then
should be all good.