code: public WriterOutputFormat getWriterOutputFormat(int branches, int index) {
      String writerOutputFormatValue = this.taskState.getProp(
          ForkOperatorUtils.getPropertyNameForBranch(ConfigurationKeys.WRITER_OUTPUT_FORMAT_KEY, branches, index),
          WriterOutputFormat.OTHER.name());
      log.debug("Found writer output format value = {}", writerOutputFormatValue);
  
      WriterOutputFormat wof = Enums.getIfPresent(WriterOutputFormat.class, writerOutputFormatValue.toUpperCase())
          .or(WriterOutputFormat.OTHER);
      log.debug("Returning writer output format = {}", wof);
      return wof;
    }
docs: Get the output format of the writer of type {@link WriterOutputFormat}.
  
  @param branches number of forked branches
  @param index branch index
  @return output format of the writer