如何正确投影 valueMap() 列表?

How do I properly project a list of valueMap()?

我目前正在尝试投影由我找到的一个顶点产生的几个不同的“属性”。计算出 1-1,但它丢失了,但是我 运行 的倍数有点问题。
我能够通过按 ID 分组强制表示单个顶点。
这在 Gremlify 中使用“空”键工作,但在 AWS Neptune 上 运行ning 类似我得到这个异常:

'{"requestId":"9dfb90b3-e479-43b1-a77b-826d71575e78","code":"InternalFailureException","detailedMessage":"Error during serialization: Null key for a Map not allowed in JSON (use a converting NullKeySerializer?) (through reference chain: java.util.ArrayList[0]->java.util.LinkedHashMap[\"grandchild\"])"}',

我知道我应该从某个地方采购这个 'tag' - 只是不知道如何。甚至可以删除它吗?

Gremlify Example

这是由于 TinkerPop 3.5 中为支持 null 值而对语义进行了一些更改,请参阅 here. Amazon Neptune currently supports the 3.4.11 version of TinkerPop which does not include these changes while Gremlify supports 3.5.0