add jinja2 env option to its filter