Convert from --json to --format=json

Newer commands, like `wp post list` use --format=json.

Older commands still use `--json`.

This would close #399