code: def _override_payload(self, payload):
          
          if self.override_payload:
              old_payload = payload
  
              def get_value(data, key):
                  try:
                      parent_key, nested_key = key.split(".", 1)
                      return get_value(data.get(parent_key, {}), nested_key)
                  except ValueError:
                      return data.get(key, key)
  
              def set_values(data):
                  for key, value in data.items():
                      if isinstance(value, dict):
                          set_values(value)
                      else:
                          data[key] = get_value(old_payload, value)
  
              payload = deepcopy(self.override_payload)
              set_values(payload)
  
          return payload
docs: This function transforms the payload into a new format using the
          self.override_payload property.