cleaning up YAML frontmatter