This is the thing. Its much less expensive to have these sorts of knowledge employees on government staff who just do this sort of work all the time, but governments prefer to spend more (much much more) on contractors. I suspect its partly because they are always wanting to announce down-sizing initiatives to appease the right, but I think more cynically, its because contractors will more reliably give them the 'right answer' than career civil servants and there's also the potential for kickbacks. Some of those profits paid to contractor companies might find their way back into campaign contributions.