Fix EZP-22437: JSON decode result is not checked in the input parser
Merge pull request #768 from ezsystems/ezp-22437_rest_json_input_checks

Fix EZP-22437: JSON decode result is not checked in the input parser