Use jinja Environment in payload_generator

- This allows us to be strict about missing variables