Update EntitySerializer.php