if(factory().isForceNativeAsObject()) {
gen.writeFieldName("request");
nativeWriter().writeNativeRequest(nativ.getRequestNative(), gen);</BUG>
} else {
<BUG>String nativeString =  factory().newNativeWriter().writeNativeRequest(nativ.getRequestNative());

gen.writeStringField("request", nativeString);
}</BUG>
}
break;

writeExtensions(nativ, gen);
gen.writeEndObject();
}
protected void writeNativeFields(Native nativ, JsonGenerator gen) throws IOException {
switch (nativ.getRequestOneofCase()) {
case REQUEST_NATIVE:
gen.writeFieldName("request");
if (factory().isForceNativeAsObject()) {
nativeWriter().writeNativeRequest(nativ.getRequestNative(), gen);
} else {
gen.writeString(nativeWriter().writeNativeRequest(nativ.getRequestNative()));
}
break;
