Updated to_dict and from_dict in NonConvergingErrorHandler with nionic_steps and change_algo