Ignore iterator keys when normalizing

If the array keeps the Iterator's keys it can end up having `[0 => 'foo', 2 => 'bar']` which then causes a parsing exception.
Instead it should create an array with consecutive keys `[0 => 'foo', 1 => 'bar']`.