view model serialization