fixed tostring conversion of array/buffer
added set() of arrays via string