take yaml front matter from a folder of files and render a json document.