update spawn2 templates to use auto-escaping syntax