code: def as_dict(self):
          
          return {"lattice": self.lattice.as_dict(),
                  "fcoords": list(self.frac_coords),
                  "ccoords": list(self.cart_coords), "label": self.label,
                  "@module": self.__class__.__module__,
                  "@class": self.__class__.__name__}
docs: Json-serializable dict representation of a kpoint