code: def toJSON(self):
          
          return {"id": self.id,
                  "compile": self.compile,
                  "position": self.position,
                  "version": self.version}
docs: Get a json dict of the attributes of this object.