<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def to_dict(self, save_data=True):
 """ Store the object into a json serializable dictionary :param boolean save_data: if true, it adds the data self.X and self.Y to the dictionary :return dict: json serializable dictionary containing the needed information to instantiate the object """

        model_dict = super(SparseGPClassification,self).to_dict(save_data)
        model_dict["class"] = "GPy.models.SparseGPClassification"
        return model_dict