Fix brackets in jinja