If you're in the CLI I'd use nushell or dasel, if you're stuck with a legacy shell.