The next step this begs for is for the shell to be like lisp. The results are s expressions and you can write macros to slice dice and pipeline the data to your hearts content.

You may find closh interesting then https://github.com/dundalek/closh

Previous HN entry about it: https://news.ycombinator.com/item?id=15600928