Update ERestJSONOutputWidget.php

Fix check for virtual attributes