Based on my analysis, Engineering should be able to return a pure string response for SOAP and REST calls.
At present, both SOAP and REST plugins lack such capability.
IDM can return this pure string based on a configuration, and this can be a worthy enhancement to IDM's SOAP and REST PX plugins since they will now be more robust and pliable.