fixes to object serialization