C++ API for JSON