stateHash property is now serialized
toString and equals fix