Fix json in SearchController