_returnData = function(q, msg, result) {
        return {
                tId: q.tId,
                win: q.win,
                data: q.data,
                nodes: q.nodes,
                msg: msg,
                statusText: result,
                purge: function() {
                    _purge(this.tId);
                }
            };
    }
Returns the data payload for callback functions.
@method _returnData
@param {object} q the queue.
@param {string} msg the result message.
@param {string} result the status message from the request.
@return {object} the state data from the request.
@private