def METHOD_NAME(self):
    """
    transformer is a required field for new classifiers.
    If the key does not exist in the json file, a field will be set with {} value
    """
    if not self.data.get("transformer"):
        self.data["transformer"] = {}