Add JSON search results endpoint