Fix crash when loading an array of items

Loading arrays of items was crashing because each iteration `iterator.next()` was being called twice.
Merge pull request #3 from CoderPuppy/patch-1

Fix crash when loading an array of items