def METHOD_NAME(self, kwargs):
    # filter out the listeners list to just include the class name
    if 'listeners' in kwargs:
        kwargs['listeners'] = [lstnr.__class__.__name__
                               for lstnr in kwargs['listeners']]
    return kwargs