code: def convert_sample_to_dict(self, samples) -> List[dict]:
      converted_samples = []
      for sample in samples:
          new_params = {}
          for index, value in enumerate(sample):
              new_params[self.names[index]] = value
          converted_samples.append(new_params)
  
      converted_and_cleaned_samples = self.clean_sample_variables(
          converted_samples
      )
  
      return converted_and_cleaned_samples
  
imports: import json
  from abc import abstractmethod
  from os.path import join
  from typing import List, Union
  from fedot.core.utils import fedot_project_root
  from fedot.utilities.custom_errors import AbstractMethodNotImplementError
label_desc: Use image node_id 2 for calling the OneOperationProblem obj's underlying member method code with example usage: obj.convert_sample_to_dict(samples) and returns: converted_and_cleaned_samples