Workaround for XML serialization: if the dictionary is defined in another assembly, serialization might fail in some cases (MP2-377)