Adds JSON loading of routes