Add a new filter to Jinja2 for getting only text