Improve jinja2 readability