Adds YAML output formatter for the exporter.