it can transform an array of hashes to a single hash

the hash's keys are variable now