move rapidjson to lib