support array types like "string[]"