Creat a hash of arrays instead of arrays of hashes