Add trailing comma to object literal