Encode default values from the data model when the object hierarchy to serialize does not overwrite them.