Fix read/write nbt in builders