render routes to string