.......... [ZBXNEXT-686] made the gateway compatible with the changes in api_jsonrpc.php