improve ndarray resolver for work with string arrays