Fix the `--format` flag for the `wp rewrite dump` command

The `--format` flag for `wp rewrite dump` doesn't work because the code in the `Rewrite_Command::dump()` method still expects the old format `--json` flag instead. This fixes that.