Make pickling work for an OrderedDict