change routes to GET index.json