Use Symbol for object hash when possible