docs: def _ordered_keys(dict_):
          """
          :param dict_: dict of OrderedDict to be processed
          :return: list of str of keys in the original order
              or in alphabetical order
          """
          return isinstance(dict_, OrderedDict) and dict_.keys() or \
                 dict_ and sorted(dict_.keys()) or []