Better JSON handling for C++