title: Json.NET Dictionary<string,T> with StringComparer serialization
body: <p>I have a dictionary <code>Dictionary&lt;string, Dictionary&lt;string, object&gt;&gt;</code>. Both the outer dictionary and the inner one have an equality comparer set(in my case it is <code>StringComparer.OrdinalIgnoreCase</code>). After the dictionary is serialized and deserialized the comparer for both dictionaries is not set to <code>StringComparer.OrdinalIgnoreCase</code>.</p>
  
  <p>If you have control over the creation of the dictionaries in your code, you can create a class inherited from the dictionary and set comparer in the default constructor of the class. But what if you do not have control over dictionary creation and you get the dictionary from the other code?</p>
  
  <p>Is there any way to serialize/deserialize it correctly with the comparer?</p>