Remove trailing comma, replace with trailing period.