Missing diagnostic data

I’m publishing diagnostics from my Xtext language server with attached user data, however they come back with null data from the code actions context. I’ve confirmed that the JSON sent to the language client contains the serialised data but the JSON sent back to the language server does not.

Is this some sort of LSP capability that needs to be configured explicitly? Not sure where to look for the problem exactly.