NullNode serialization and CP unification