use a hash of hashes instead of an hash of arrays.