Back up...
Jeep Grand Cherokee's are uni-body vehicles. The body is the frame. You can't swap the "body".
4x4 to 4x2 does not necessarily prevent a motor swap. If the motor is the same (likely) it's a straight drop in.
Swapping the whole drivetrain in is also an option, but may require some "custom" work for the 4wd shifter.