ENH: better handling of string arrays