Factor out Jinja2 dependence.

Suites that do not use Jinja2 don't need Jinja2 to be installed.