Use hashes when comparing object keys.