pass json to search page