Add Complex serialization for Dictionary type