I could not find a way because there is not.
The DataContractSerializer doesn't allow much control: you can define quite clearly (using this explicit "opt-in" approach) what gets serialized, but you have little or no control over how it gets serialized.