fix for arrays of non-strings, such as buffers.