added proper json response