Jinja2 filter should run in debug mode