I think PowerShell works this way essentially. As I understand, all data is structured which makes formatting and piping to other programs much simpler.