The specification for the HTTP provider states that
The HTTP provider MUST return an object with the following properties:
status which MUST be a valid HTTP returned code as defined in RFC 7231
headers which MUST be an object
body which MUST be a string
However, in the case that the HTTP response has the Content-Type of application/json, the toolkit lib returns a JSON object as the body.