allow sending JSONArray as body as well