Fixes #15028: Hopefully this would make DataContractJsonSerializer honor EmitDefaultValue during serialization.

This should work for both reference and value types. Together with tests.