Fix the json format

Changed the json format to be able to return all informations for the
search result page.