Ignore array indexes

If we have something like a[2] then 1 is not interpreted as the third
element of an a array. It is interpreted as an a object with a '2' key.