Add support for --csv and --json arguments as output types