def serialize(d):
    ret = {}
    for k,v in d.items():
        if not k.startswith('_'):
            ret[k] = str(d[k])
    #ret['__class__'] = obj.__class__.__name__
    return ret
Attempts to serialize values from a dictionary, 
dataset/ETHPy150Open rsgalloway/grit/grit/util/util.py/serialize