I am not sure I understand what your would like to do. Could you explain your use case for this? What do you mean by “final response of the workflow”?
If you use the withVariablesInReturn, the “variables” attribute in the payload returned by the API is just a map with the variable name as key. You can get any variable you need from that map.