$viewModel is compared to wrong type

$viewModel is an instance of PhlyRestfully\View\RestfulJsonModel, not PhlyRestfully\RestfulJsonModel