I’ve expressed this same dilemma here. Based on reosarevok’s response, I’ll put the artist as composer if the artist is stated (implicit/explicitly) to have just made the beat, but otherwise I’ll directly translate the “producer” credit to the recording. Though I do wish there was a distinction between the MB definition of producer vs. what the credit typically means in modern rap.