allow preparation of queries from handlebars templates