Make sure array params are correctly deserialized

/to @ritch 

The PR allows parameters typed by [itemType] to be correctly deserialized.