working on using JSON with C++