remove trailing comma in composer file