Scripts run from the command line should output in JSON, or at the very least have an option to do this.