I was going to say. This is pretty easily achievable with a Typst template and script, which can even parse YAML.