Serialize a collapsible node.
Called by the framework when it needs to serialize a collapsible node. This function serializes all its sub-nodes as well.
Reimplemented from CBCGPOutlineBaseNode.