move json to csv