fixed creation of backend.json before the package