code: def convert_to_process_params_dict(opt):
      
      opt = copy.deepcopy(opt)
      for arg, val in vars(opt).items():
          if isinstance(val, DictWithDefaultReturn):
              new_val = []
              for key in val.keys():
                  if isinstance(val[key], list):
                      for item in val[key]:
                          if item is not None:
                              new_val.append(':'.join([key, str(item)]))
                  else:
                      if val[key] is not None:
                          new_val.append(':'.join([key, str(val[key])]))
              setattr(opt, arg, new_val)
      return vars(opt)
docs: Takes the namespace object (opt) from the multi-detector interface and
      returns a dictionary of command line options that will be handled correctly
      by the register_to_process_params ligolw function.