Writing Spells to NBT