When artists buy songs they are given a credit for legal purposes (and I suppose vanity, too)
Most of the songs I went through from Jackson where he appear to be a writer, as the history of him writing and producing the song. Of course, he got plenty of help. But I don't think it's fair to reduce him as using ghost-writers/producers for his songs, people seem to be properly credited.