Revert recent SQL/JSON related commits

Amit Langote <amitlan@postgresql.org>

Commit: eef5195f300bb9cf2864d48761c0db2ad93842c1
Author: Amit Langote <amitlan@postgresql.org>
Date: 2024-09-06T03:52:39Z
Releases: 17.0
Revert recent SQL/JSON related commits

Reverts c88ce386c4d, 5067c230b8e, and  e4e27976a68, because a few BF
animals didn't like one or all of them.

Files