/p>
<p>Of course, a <code>deserialize</code> function may be more elaborate:</p>
<pre><code class=language-javascript>m.request({
    method: &quot;GET&quot;,
    url: &quot;/files/data.csv&quot;,
    deserialize: parseCSV
})
.then(function(data) {
    console.log(data)
})

function parseCSV(data) {
    // naive implementation for the sake of keeping example simple
    return data.split(&quot;\n&quot;).map(function(row) {
        return row.split(&quot;,&quot;)
    })
}</code></pre>
<p>Ignoring the fact tha