xml to array of hashes