Removed dependency on json-c library by using internal JSContext for JSON<->C++ conversion