prepare the parser for dealing with random access of arrays