There should be ideally only one place that keeps the wire structure of the data.