fix trailing comma after last object initialization