fixed anonymous object serialization