class Array::ArrayRowIsNotAHash

converts array of hashes to one hash with elements in array