public PickerModel SerializePicker(Picker.RootModel model) { var models = model.GetGroups(); var result = new PickerModel( this.SerializePickerGroups(models) ); return(result); }