Processing JSON and XML using `grep` and `sed` is error-prone, overly
lax in some ways, overly strict in others, and neither accurate nor
expressive. Use `jq` and `xmllint` with XPath expressions to make
things right in system tests.
See #3304
Backport of MR !10942
Merge branch 'backport-3304-properly-process-json-and-xml-in-tests-9.20' into 'bind-9.20'
See merge request isc-projects/bind9!11153