refactor to use glosbe api as dict