add the script to covert json to csv