fixed #1 in json collection reader helper