The F-22 is, even now, still projected to cost more per aircraft than the F-35. Plus the F-22 cannot be sold internationally for reasons that aren't entirely clear (something about secret technology), whereas the F-35 can.
Isn't it entirely based around the stealth functions of the F-22, and more specifically, their unique application of such? I am pretty sure they fear reverse engineering of the metallic skin; hence why the Senate has pushed for an exportable version.