C++11 JSON parser and writer