[composer] Restores composer.json