New WriteJsonValue writes Json::Value in O(n) time.