convert csv to hash