enable REST API for routes for now trivial list and single route