Both `context_json` and `view_json` should be set by called `getSession().toJSON().json` instead instead. Internal state is held that `toJSON()` filters out. Furthermore, just setting to `attributes.json` is a reference not a copy so these models could stomp on other another.