Save this message sending object into a dictionary.

def to_dict(self):
        '''Save this message sending object into a dictionary.'''
        targets = []
        for cond in self._targets:
            targets.append(cond.to_dict())
        if targets:
            return {'targets': targets}
        else:
            return {}