exploited rapidjson to produce json files