code: private void writeJsonKeyValue(String fieldName, String value)
              throws JsonGenerationException, IOException {
          generator.writeStringField(fieldName, value);
      }
docs: Writes the given field and the value to the JsonGenerator
  
  @param fieldName
  the JSON field name
  @param value
  value for the field