Use the built-in JSONWriter here to avoid unneeded class dependency
inclusion with Maven Shading