server now responds with with wellformed json