Add a configurable global_context to jinja2 templates