Correctly navigate the array of hashes