fix #3304 replace jsoncpp to rapidjson.