modified json response for physician