fixes some json typos and migrates the schema
missing end :(