Custom API - Need to create a string return value, not only MAP

Custom API - Need to create a string return value, not only MAP

@Support: When creating a Custom API it only allows a return from a function of MAP type. The service I'm using requires a string return, how can this be achieved?