code: static String getTableFieldsJson(TableSchema tableSchema) throws IOException {
      return JacksonFactory.getDefaultInstance().toString(tableSchema.getFields());
    }
docs: Gets the JSON representation of the table's fields.
  
  @param tableSchema {@link TableSchema} to get JSON fields from
  @return the JSON of the fields.
  @throws IOException