Add support for building routes from api.json