code: function interceptIndex(request, response, next) {
  	if (args.index === true && request.path === '/') {
  		request.path = '/index.json';
  	}
  	return next();
  }
docs: Middleware to serve JSON at the index route eg. a request to / will return data/index.json