refactors posts to be json while I figure out how to do markdown + meta data