selective object serialization