CSV version
script to convert json to csv