@Override
    protected void runSerializedFile(Path file, SerializedFile serialized) {
        TypeTree<? extends Type> typeTree = serialized.metadata().typeTree();

        switch (outputFormat.get()) {
            case JSON:
                printJson(file, typeTree);
                break;

            default:
                printText(file, typeTree);
        }
    }
@author Nico Bergemann <barracuda415 at yahoo.de>
disunity-cli/src/main/java/info/ata4/disunity/cli/command/asset/AssetTypes.java