Replace get_dict_ex with dot operator