this whole cargo space issue is a big factor in the reason that I sold my 98 XJ. I bought a 07 Dodge Power Wagon and could not be happier. I have a custom, modular storage system in the bed that is also a couch and a bed...
Using this set up as a model, you could use a few pieces of plywood...