Remove trailing whitespace from composer.json.