Fix #2: collections with a targetType of type array must be deserialized as arrays and not rely on later conversions (List -> array).