Fixes #15028: Make DataContractJsonSerializer honor EmitDefaultValue during serialization.

This should work for both reference and value types. Together with tests (thanks to Jon Goldberger).
the opening brace for classes should be on its own line