Improve array evaluation support

* First of a few commits to allow for evaluating arrays of arbitrary
  types
* Adds support for 32 bit integer arrays