def to_dict(self):
input_dict = super(EP, self)._save_to_input_dict()<EOL>input_dict["<STR_LIT:class>"] = "<STR_LIT>"<EOL>if self.ga_approx_old is not  None:<EOL><INDENT>input_dict["<STR_LIT>"] = self.ga_approx_old.to_dict()<EOL><DEDENT>if self._ep_approximation is not  None:<EOL><INDENT>input_dict["<STR_LIT>"] = {}<EOL>input_dict["<STR_LIT>"]["<STR_LIT>"] = self._ep_approximation[<NUM_LIT:0>].to_dict()<EOL>input_dict["<STR_LIT>"]["<STR_LIT>"] = self._ep_approximation[<NUM_LIT:1>].to_dict()<EOL>input_dict["<STR_LIT>"]["<STR_LIT>"] = self._ep_approximation[<NUM_LIT:2>].to_dict()<EOL>input_dict["<STR_LIT>"]["<STR_LIT>"] = self._ep_approximation[<NUM_LIT:3>].tolist()<EOL><DEDENT>return input_dict<EOL>
Convert the object into a json serializable dictionary.

Note: It uses the private method _save_to_input_dict of the parent.

:return dict: json serializable dictionary containing the needed information to instantiate the object