New JsonWriter writes to an output in O(1).