Invert the key/value of an object. Example: {foo: bar} → {bar: foo}