add support for nested objects to dumpobj