Note, this was written while bored and drunk mainly on my cell phone so the code is crude, but working just fine. I will improve it when time allows for it. Better usage/installation instructions ...
This randomizer works by shuffling all researchable KSP parts among the nodes in the tech tree, in such a way that all the nodes will have the same amount of parts they have in the base game.