Array inspect should take the encoding of the first element