HTTP 400 responses should return json