code: def as_dict(self):
          
          d = {"@module": self.__class__.__module__,
               "@class": self.__class__.__name__,
               "defect": self.defect.as_dict(),
               "uncorrected_energy": self.uncorrected_energy,
               "corrections": self.corrections,
               "parameters": self.parameters,
               "entry_id": self.entry_id}
          return d
docs: Json-serializable dict representation of DefectEntry