seralization with CodeDomSerializer