NXP-12352 Don't use JsonWriter but JsonHelper to get a JsonGenerator