deserialization support for objects (custom and standard serialization)