fixed compilation error for json collection reader helper