Update ERestJSONOutputWidget.php

Fix check for virtual attributes
Merge pull request #117 from lordlele/master

Update ERestJSONOutputWidget.php