Created util class to handle nbt tags