'Prepares dict with labels to be JSON serializable'

def _label_columns_json(self):

    ret = {}
    for (key, value) in list(self.label_columns.items()):
        ret[key] = as_unicode(value.encode('UTF-8'))
    return ret
