Fix composer.json renaming bugs