return json response for test