Parse JSON to C++ Objects and vice versa