Further reformat posts data for JSON