No problem. I'm not saying it's impossible ... hell, it's even on my wishlist for the devs to fix some of this. I'd even be happy to help with suggestions on how to load/unload things. The easiest way is to take the perks as modifiers of %, dump them into an XML file, then load it from a master race list. Same with ships. Then we'd be cooking.
I'd also query why it's XML and not Lua (the library is lighter and cross platform and just plain *nice* in comparison), but that's more or less off topic at this point.
I'd start poking around more for you, but given cross platform versions + GOG + Steam stuff messing with binaries, the work is just over the top for now (unless the devs want to start not stripping symbols?

)