Ensure text of template tokens are string primitives not objects