I would really expect to see facets appear in the response similar to the way they were sent. But instead these appear in an “unrelated” object. Even Ratel shows them as [object] instead of showing the actual values.
@kesor this is working as expected. Earlier facets for uid edges were returning as part of the object but then the same was not possible for scalar edges, say an edge of type [string].
Now we have a common format for both where the facets are returned as part of another object where the index of the object represents the index in the original array (seen here) that the facet belongs to. I am not sure about your javascript code but fetching the value of a facet should be as simple as seeking to the index of the current array item in the facets object.