Fix missing comma in object generation