update output format to the new YAML structure