create route from json data