protected <T> void processEntities(Class<T> klazz, EntityHandler<T> handler) throws Exception {
        while (nextToken() != JsonToken.END_ARRAY) {
            processEntity(klazz, handler);
        }
    }
Common JSON reader functionality

@author Marc Savy {@literal <msavy@redhat.com>}
manager/api/export-import/src/main/java/io/apiman/manager/api/exportimport/json/AbstractJsonReader.java