Formatter: smart fallback from any to YAML and then to native