removing trailing slash in composer.json