def METHOD_NAME(self, resources):
    if not resources:
        return []
    for r in resources:
        if r.get('resourceLabels'):
            r['labels'] = r['resourceLabels']
    return resources