Support json format on the index page

https://github.com/luvtechno/cocoapods_search/issues/7