get_translations to return a dictionary