Map<String, String> payload = message.getPayload();
//key is run status
for (String key : payload.keySet()) {
//each map value is a JSONArray string
JSONArray a = JSONArray.fromObject(payload.get(key));
List<JSONObject> all = a.subList(0, a.size());
//for (JSONObject o : (Iterable<JSONObject>)a) {
for (List<JSONObject> chunk : NotificationUtils.chunkList(all, splitterBatchSize)) {
Map<String, String> runMap = new HashMap<String, String>();
JSONArray aa = new JSONArray();
for (JSONObject o : chunk) {