add to_dict and from_dict to GaussianInput