Remove illegal trailing comma