Hack with ast.literal_eval to get around jinja2 rendering problem