Double-parse these, once as data, then as plaintext. The [gray-matter library](https://www.npmjs.com/package/gray-matter) looks easy enough