Format frontmatter to match mmd style metadata