Publishes minions as a list of dicts.

def publish_minions(self):
        '''
        Publishes minions as a list of dicts.
        '''
        log.debug('in publish minions')
        minions = {}

        log.debug('starting loop')
        for minion, minion_info in six.iteritems(self.minions):
            log.debug(minion)
            # log.debug(minion_info)
            curr_minion = {}
            curr_minion.update(minion_info)
            curr_minion.update({'id': minion})
            minions[minion] = curr_minion
        log.debug('ended loop')
        ret = {'minions': minions}
        self.handler.write_message(
            salt.utils.json.dumps(ret) + str('\n\n'))