def JSONResponse(payload):
    return HttpResponse(json.dumps(payload), mimetype='application/json')
guess type (int, float) of value.
dataset/ETHPy150Open haystack/eyebrowse-server/common/view_helpers.py/JSONResponse--crossover with--dataset/ETHPy150Open CGATOxford/cgat/CGAT/IOTools.py/str2val