fix inadvertent re-factor change on jsonWriter