<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_member(self, legislator, role='member', **kwargs):
 """ Add a member to the committee object. :param legislator: name of the legislator :param role: role that legislator holds in the committee (eg. chairman) default: 'member' """

        self['members'].append(dict(name=legislator, role=role,
                                    **kwargs))