for (JSONArray innerPoolList : (Iterable<JSONArray>) pools) {
for (JSONObject pool : (Iterable<JSONObject>) innerPoolList) {
log.info(pool.toString());
PlatePool platePool = mapper.readValue(pool.toString(), new TypeReference<PlatePool>() {
});
currentPool = platePool;
for (Plate<LinkedList<Library>, Library> plate : platePool.getPoolableElements()) {
JSONObject j = new JSONObject();
// if (json.has("tagBarcode")) {
// String tagBarcode = json.getString("tagBarcode");
// plate.setTagBarcode(requestManager.listAllTagBarcodesByStrategyName());