If the idea is to have output from CLI apps/scripts that can be easily parsed so that chaining scripts together without regexing yourself to death is the goal this sounds like what PowerShell Core (which runs on macOS and Linux as well) does: PS commands return objects -- with a default .ToString() output if you don't grab the result and use it in the next step/script -- allowing easy object.property accessors as well as foreach iteration if the command returns a list/array of objects.