fixed #3456
issue #3456 replace jsoncpp to rapidjson.