Invert an object by assigning its values as keys and its keys as values.
The original object to invert
The inverted object with keys and values swapped
Invert an object by assigning its values as keys and its keys as values.