Some of our data structures refer to each other.
This leads to issues when we JSON.stringify them as we can end up with circular references.
For each data structure we should figure out which properties should be included when it is on the wire and filter out the rest.