def as_dict(self):
    d = MSONable.as_dict(self)
    if hasattr(self, 'kwargs'):
        d.update(**self.kwargs)
    d['lammps_input'] = self.lammps_input.as_dict()
    return d
def as_dict(self):
    d = MSONable.as_dict(self)
    if hasattr(self, 'kwargs'):
        d.update(**self.kwargs)
    d['lammps_input'] = self.lammps_input.as_dict()
    return d