Adding json to csv converter script