GRAILS-11507 provide optimized way for encoding to target Writer with streaming encoder
GRAILS-11507 optimize output of StringBuilder and StringBuffer instances (CharSequence) in GrailsPrintWriter
GRAILS-11361 use optimized way in JSONObject to use StreamingStatelessEncoder (JSONEncoder)