Do not depend on TypeToken.toString() for primitive array.