Support Array Types In IntermediateReader

This fixes `IntermediateReader` to correctly resolve array types when parsing the XML Type attribute.

Fixes #2817.