XJ rear perches are wider than MJ (ask me how I know this) the springs will splay out enough, but I don't recommend it.
Also, the shock locations are different keep the SUA spring/shock mount(from the MJ), and shave off the XJ shock mounts.
Another issue, is the load biasing valve for the rear brakes on the MJ. Pull it out, and replace the proportioning valve with an XJ unit.
You will gain 5 inches of lift by going to a SOA, get a set of 5 inch springs for the front to level out the ride.