switch to --format option instead of --json, display helpful error message when unknown format requested