Revert "- Improved the code logic of the methods jsonPut, jsonPost and jsonPatch"

This reverts commit 8334c70324bf8a0434c7998f53297603f48d3186.