docs: def get_outkey(dskey, export_types):
      """
      Extract the first pair (dskey, exptype) found in export
      """
      for exptype in export_types:
          if (dskey, exptype) in export:
              return (dskey, exptype)