for option in choices:
                option['text'] = option['text'].get(active_language, None) or option['text'].values()[0]