'Override parent method with a simpler implementation.
RoleAssignment doesn\'t have non-indexed \'extra\' attributes, so the
parent implementation is not applicable.'

def to_dict(self):

    return dict(self.items())
