cleanup decision tree serializer