Its a great solution! I&#x27;d use dictionaries for faster lookups though.<p>But not exactly pure JSON. Client-side, you need to attach methods (or getters) that fetch the user object to the comment. I suppose you could just attach get(reference) that takes this[reference + &#x27;_id&#x27;] and looks it up inside the `result[reference]`. m:n relations will be harder though.<p>Otherwise you can&#x27;t e.g. simply pass each comment to e.g.a react &quot;Comment&quot; component that renders it. You would also have to pass the user list (dictionary) to it.