streamline rest endpoints for templates and services