use `rapidjson::Value::SizeType` as the type for storing and comparing the string length