function returnBody( wpreq, result ) {
	const body = extractResponseBody( result );
	const _paging = createPaginationObject( result, wpreq._options, wpreq.transport );
	if ( _paging ) {
		body._paging = _paging;
	}
	return body;
}
Return the body of the request, augmented with pagination information if the
result is a paged collection.

@private
@param {WPRequest} wpreq The WPRequest representing the returned HTTP response
@param {Object} result The results from the HTTP request
@returns {Object} The "body" property of the result, conditionally augmented with
                 pagination information if the result is a partial collection.