Update JsonApiView.php

Getting rid of logical shenanigans