'Serialize callback configuration.'

def get_description(self):

    cdict = {}
    cdict['epoch_marker'] = self.epoch_marker
    cdict['output_file'] = self.output_file
    cdict['callbacks'] = []
    for callback in self.callbacks:
        cdict['callbacks'].append(callback.get_description())
    return cdict
