Fixed migrate to not add commas at end of {...}