A JSON parser in C++