CTest: Polish --show-only=json-v1 feature
Avoid exposing the internal special value that we use to track tests not available in the tested configuration. This also prevents clients from having to do the filtering themselves.
Follow up to !2499 (merged). This also adds a file missing from that MR that is needed to hook up the content check in the test.