I take it you mean you have to serialize a dictionary that's part of class you have no control over?
In short, you have to serialize the keys and values separately. To deserialize, step through each item in the key/value arrays and add them back to your dictionary.