Update Entity.php

change to match parser->getFields method simplification