Monkey patching the JSON call