Add Complex serialization/deserialization  for Dictionary type