Simplify MakeYAMLFrontmatter class