Return an instance of any type from the DMN decision table

Hi guys,
Is it possible to return an instance of any custom type (not just string, number, boolean or date) as a result of decision table evaluation?
For example, I have an expression that invokes my spring service in the output entry

<outputEntry id="LiteralExpression_1pe1wqy">

The service method may return, say, a POJO or JPA entity that I want to save in a process variable for later usage. I’m looking at ExecutionVariableFactory and guessing that it’s not possible, but maybe I’m missing something and there is a way to get what I want?