Allow rendering a template with a dict