Remove "/search" from API URL, as on search.cocoapods.org that's the only action that is done. Make json format explicit in code.