code: def get_record(self):
      return {"version": self.version, "license": self.license}
  
file_path: snakemake/snakemake/report/data/packages.py
imports: import json
  from snakemake.exceptions import WorkflowError
  from snakemake.report.data.common import get_resource_as_string
  import snakemake
label_desc: Use image node_id 2 for calling the Package obj's underlying member method code with example usage: obj.get_record() and returns: dict