def METHOD_NAME(self, objects):
    return [
        {
            "id": x[0],
            "name": x[1],
            "type": x[2],
            "generic": x[3],
            "company": x[4],
            "contents": x[5],
            "cims_class": x[6],
            "atc_classification": x[7],
        }
        for x in objects
    ]