Only treat string as array if no other types are specified.