Why is my object from a lambda expression converted to an array ?

Here is a simple function to showcase my problem

Just returning the result of the lambda function

3 replies