We need e.g Linux basic tools to switch / start supporting web-ish data format - json as their output e.g
df -h --json
so we do not need parsers for every tool, but one coherent format which is already popular and has built in parser for every lang out there
The idea of JSON output is brought up regularly.
Very interesting project that helps with that is https://wiki.freebsd.org/LibXo
Meanwhile, there is jc so that
jc df
returns JSON. See https://github.com/kellyjonbrazil/jc
Hope this helps.