ViewModelBase protected to public update

Fix serialization\deserialization bug