[Serializer] fixed bc-break with cdata-section nodes