Work on json response for search page