BS-10723, add method to retrieve the body as JSONArray