Remove trailing comma from object literal.