compatible with Slim\View::renderUpdate JsonApiView.php

Solve the problem describes in issue #7