creates a json service to provide routes and stops