use explicit namespaces for easier jinja conversions
expose enumerate for easier jinja conversions