ERR: leftover from renaming outtype to orient in to_dict
Merge pull request #8721 from jorisvandenbossche/to_dict-invalid-orient

ERR: leftover from renaming outtype to orient in to_dict