operator.symbol becomes operator.value

operator.symbol becomes operator.value, so we can have less check in entity function.