Inverts the case (snake or camel) of an entire object