Finally, you can write either (or both) a custom operation behavior (IOperationBehavior) or a custom behavior extension element (BehaviorExtensionElement) so that you can configure the usage of the JsonSerializer, in code or in the configuration, respectively.