Arr::path() to return associative array when wildcard used

For feature request 4743