writing the composer.json file