Adding compact json to c++