Add YAML support to Formatter