docs: public final OutputFormat getOutputFormat(final PJsonObject specJson) {
          final String format = specJson.getString(MapPrinterServlet.JSON_OUTPUT_FORMAT);
          final boolean mapExport =
                  this.configuration.getTemplate(specJson.getString(Constants.JSON_LAYOUT_KEY)).isMapExport();
          final String beanName =
                  format + (mapExport ? MAP_OUTPUT_FORMAT_BEAN_NAME_ENDING : OUTPUT_FORMAT_BEAN_NAME_ENDING);
  
          if (!this.outputFormat.containsKey(beanName)) {
              throw new RuntimeException("Format '" + format + "' with mapExport '" + mapExport
                                                 + "' is not supported.");
          }
  
          return this.outputFormat.get(beanName);
      }