Well, you could process the JSON on client side.<p><pre><code>    response.comments.forEach(comment =&gt;  comment.author = response.user[comment.author]);
</code></pre>
Preferably, even, you could do it during rendering so it can be garbage collected afterwards.