I wouldn't bother with YAML. The other formats that are supported by `wp post list` are `table` and `csv`.