That&#x27;s true even in Clojure, arguably the simplest and cleanest language ever invented for complex data transformation and extraction.<p>The Clojure solution to this still ends up requiring temporary variables and some sort of model transformation functionality. (Will try to post my Clojure solution in 5 hours after my next noprocrast timer is up.)<p>If the data could first be transformed so that it doesn&#x27;t require temporary variables or ad-hoc transformation function definitions, instead making use of &quot;paths&quot;, then it would be easier with command line tools. Such a transformation could be possible as its own command line interface.