Serializing + unserializing + equality check