public String getString(String key) {
        try {
            if(hasKey(key))
                return ((NBTReturnable<String>) get(key)).getValue();
            return "";
        } catch (ClassCastException e) {
            return "";
        }
    }