updated expressions for RESTful templating