$viewModel is an instance of PhlyRestfully\View\RestfulJsonModel, not PhlyRestfully\RestfulJsonModel
Merge pull request #61 from flyingbuddha/patch-1

$viewModel is compared to wrong type
Merge branch 'hotfix/61'

Close #61