Fix broken reserialization of object reference

Serialization alter the Object and Array values by adding an extra property.
When reserializing (with a new serializer) with the same (altered) value;
this "hidden" property breaks the binary output.