added enumerate to the root namespace of jinja templates