Support recursive object serialization

Change-Id: Ied1715dc64d28d1544c9d041bfe6ed285be8ae06
Merge "Support recursive object serialization"