Change NBTCompound to use Set and add JSON output