better handling of jsonString.toString() and using generator behind jsonwriter - pretty sill to support