remove extra trailing comma from composer package