Generate composer.json file