code: private void writeField(FieldType field, Object value) throws IOException
     {
        String fieldName = field.name().toLowerCase();
        writeField(fieldName, field.getDataType(), value);
     }
docs: Write the appropriate data for a field to the JSON file based on its type.
  
  @param field field type
  @param value field value