protected string DoSerialize() { StringBuilder sb = new StringBuilder(); DoSerialize(sb); return sb.ToString(); }