Write the json files out to disk
Add first pass at csv output support