Support json format on the index page