Add json response for POSTs