def METHOD_NAME(self, obj):
    resources = {}
    resources["Catalogus"] = [obj.pk]
    # Resources with foreign keys to catalogus
    fields = ["InformatieObjectType", "BesluitType", "ZaakType"]
    for field in fields:
        resources[field] = list(
            getattr(obj, f"{field.lower()}_set").values_list("pk", flat=True)
        )
    resources["ZaakTypeInformatieObjectType"] = list(
        ZaakTypeInformatieObjectType.objects.filter(
            zaaktype__in=resources["ZaakType"],
            informatieobjecttype__in=resources["InformatieObjectType"],
        ).values_list("pk", flat=True)
    )
    # Resources with foreign keys to  ZaakType
    fields = ["ResultaatType", "RolType", "StatusType", "Eigenschap"]
    for field in fields:
        model = apps.get_model("catalogi", field)
        resources[field] = list(
            model.objects.filter(zaaktype__in=resources["ZaakType"]).values_list(
                "pk", flat=True
            )
        )
    resource_list = []
    id_list = []
    for resource, ids in resources.items():
        if ids:
            resource_list.append(resource)
            id_list.append(ids)
    return resource_list, id_list