What is the best way to save the result object from scipy.optimize.OptimizeResult, so that its parameters can be easily accesses from the saved file? I am currently saving t