Rating companies are part of the problem in that they do not have liability for the accuracy of their ratings with their subscribers. If they had to buy insurance to cover their predictions, IMO their behavior would be very different.
As I recall, Moody’s, Fitch, and S&P are the three components of a government-protected cartel, which is probably the one reason why Moody’s is only now considering downgrading our debt.