csv to hash or hash to csv