Finally nailed serialization for selected nodes.