add jinja2 support