better frontmatter parsing / separation