Send the response as json