Fix missing commas and closing braces