`update_languages.js` expects a list of languages instead of a dictionary. I opted to make the correction on the server instead of the js side.