Converted search results to JSON