NBT parsing (untested).