getLanguages: return an object with the language tags as keys instead of array