#16 introduced lambda expressions to the map filter, and limits the return value of such expressions to be a path (to a variable/value).
Considering that we now have string interpolation, it might be useful to to allow lambda expressions returning a string too.
{% assign foo = bar | map: i => “Hello, ${i.name}!” %}