Update NBTList to match implementation in NBT project