I think instead of using "{}" string, you can simply replace it with new Object() or new JSONObject() as follows:
requestBody.put("variables", new Object());
OR
requestBody.put("variables", new JSONObject());