it can transform an array of hashes to a single hash

this time it uses multiple keys of the intial array of hashes and combines the values to become keys of the final hash