This is my class structure:
class DataItem { public string Id { get; set; } public string Type { get; set; } private Dictionary
I suggest you use the DataContractSerializer. It does support dictionaries.