hacking javascript array into json with python,print(json.dumps(result))