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