improve XML/JSON/YAML output