Save this configuration set into a dictionary.

def to_dict(self):
        '''Save this configuration set into a dictionary.'''
        d = {'id': self.id}
        data = []
        for c in self._config_data:
            data.append(c.to_dict())
        if data:
            d['configurationData'] = data
        return d