Represent the parameter range as a dictionary suitable for a request to
        create an Amazon SageMaker hyperparameter tuning job using one of the deep learning frameworks.

        The deep learning framework images require that hyperparameters be serialized as JSON.

        Args:
            name (str): The name of the hyperparameter.

        Returns:
            dict[str, list[str]]: A dictionary that contains the name and values of the hyperparameter,
                where the values are serialized as JSON.

def as_json_range(self, name):
        """Represent the parameter range as a dictionary suitable for a request to
        create an Amazon SageMaker hyperparameter tuning job using one of the deep learning frameworks.

        The deep learning framework images require that hyperparameters be serialized as JSON.

        Args:
            name (str): The name of the hyperparameter.

        Returns:
            dict[str, list[str]]: A dictionary that contains the name and values of the hyperparameter,
                where the values are serialized as JSON.
        """
        return {'Name': name, 'Values': [json.dumps(v) for v in self.values]}