PHP8 contains the RFC https://wiki.php.net/rfc/always_enable_json to always enable ext-json
It should be valid to remove ext-json from composer.json as there is no special meaning when it is required.
https://codesearch.wmcloud.org/search/?q=ext-json%5Cb&files=%5C.json&excludeFiles=&repos=