Add JSON configuration of routes