Add support for toggling Model and Schema, instead of just expanding
Added support for primitives in StatusCodeView