Revert recent SQL/JSON related commits

Amit Langote <amitlan@postgresql.org>

Commit: 4d7e24e0f4d05b546228488ccdc2848a80245ffb
Author: Amit Langote <amitlan@postgresql.org>
Date: 2024-09-06T03:53:01Z
Releases: 18.0
Revert recent SQL/JSON related commits

Reverts 68222851d5a8, 565caaa79af, and 3a97460970f, because a few
BF animals didn't like one or all of them.

Files