Make lookup tables return expression results

Expressions in lookup tables may return either a scalar or a number, and the lookup function will always return them as a number.
What is the need for this?