When dumping AST, the JSON format can be requested in two ways: -ast-dump=json and -ast-dump-all=json. Both of those command line options control FrontendOptions::ASTDumpFormat.
This patch deduplicates the options by introducing -ast-dump-format, removes the _EQ variants of -ast-dump and -ast-dump-all, and simplifies option parsing/generation.
This is a lot of noise in the tests just from changing RUN lines. Maybe these tests shouldn't be checking the offset: field.
I suggest: