installer: generate composer.json using `composer init`