Jinja2 Replace Characters In String