Wrapper func return.

Not sure why were expecting a tuple here. Looks like a single dict to me unless I'm missing something.

This fixes things like grains.items, which were stacktracing prior to this change.

Closes #12809