async def METHOD_NAME(*args, **kwargs):
    fin = open('.tmp_results', 'r')
    data = fin.read()
    fin.close()
    os.remove('.tmp_results')
    data_json = json.loads(data)
    measurements = data_json["AcceleratorBuffer"]["Measurements"]
    shots = sum(list(measurements.values()))
    n_qubits = len(list(measurements.keys())[0])
    results = {'q{}'.format(i):{'data':[], 'dtype':'int8', 'shape':(shots,)} for i in range(n_qubits)}
    for k, v in measurements.items():
        for i in range(n_qubits-1,-1,-1):
            for j in range(v):
                results['q{}'.format(i)]['data'].append(int(k[i]))
    for i in range(n_qubits):
        results['q{}'.format(i)]['data'] = bytearray(results['q{}'.format(i)]['data'])
        results['q{}_unclassified'.format(i)] = results['q{}'.format(i)]
    return results