In order to easily construct the breadcrumb bar for an item, we should probably store the whole document rather than just the id.

This actually leads to a larger refactor that we need to do; our `_filter` methods that are currently in the rest layer should really be moved down into the model layer so we can re-use them for situations like this.