There’s another question about this elsewhere. In the message you get back, it has a list of citations. Each one has the text string for that citation. You can iterate that list and replace each of those strings with empty strings. (In our case, we replace these with footnotes, but you don’t have to.)