CR-IC-6404
CR-IC-6404 top level serialization expects not null value

Well, ideally, clients should not use XmlSerializer directly, but currently we have to keep backward compatibility