In jsonmodels, the metaclass for models was changed. Therefore, a model is no longer a type. Checks of the form type(x) == type fail, and are replaced with inspect.isclass(x). Change-Id: Ib8de32e47db8b44735c95b552835ce85b24e2b88 Closes-Bug: #1753244