fix use of OrderedDict in CifWriter