Fix IdDictionary load/save protocol.