Added functionality to retrieve the raw string result from the API or a custom REST end point. Very useful if retrieving encoded blobs or non-standard types.