switched from jsoncpp (bad) to rapidjson (good)