Improve JsonPrinter to enable printing to custom StringBuilder