Reformatted server responses so that they are all json objects (makes reading errors on the client end easier)