Also, have well-defined structures for each template. For instance: we could use pydantic, or stdlib dataclasses.