Trying hacks for funny jinja issue