Scoping all routes to format json