Format routes.json