When accessing a map object via jsonata globalContext, it does not work when the get method uses a variable - but using a string works.
v 3.0.2
example:
[{"id":"8885e1d87c774eb3","type":"change","z":"f1e84ae7.4dcf98","name":"get with variable","rules":[{"t":"set","p":"payload","pt":"msg","to":"$globalContext(\"testmap\").get(payload)","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":877,"y":1033,"wires":[["e28f0de5eb5a8d25"]]},{"id":"f07e5a42e3af87ee","type":"inject","z":"f1e84ae7.4dcf98","name":"variable","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"MEQ0838051","payloadType":"str","x":615,"y":1082,"wires":[["8885e1d87c774eb3"]]},{"id":"e28f0de5eb5a8d25","type":"debug","z":"f1e84ae7.4dcf98","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1138,"y":1012,"wires":[]},{"id":"1e367b4a4fcb63fb","type":"inject","z":"f1e84ae7.4dcf98","name":"config","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":"2","topic":"","payload":"[{\"hm_addr\":\"MEQ0838051\",\"system\":\"hm\",\"type\":\"lock\"},{\"hm_addr\":\"MEQ0092869\",\"system\":\"hm\",\"type\":\"motion\"}]","payloadType":"json","x":615,"y":993.0000610351562,"wires":[["9ba31ab579766bd2"]]},{"id":"9ba31ab579766bd2","type":"function","z":"f1e84ae7.4dcf98","name":"load map","func":"var m = new Map()\n\nmsg.payload.forEach((item) => {\n m.set(item.hm_addr,item)\n});\n\nglobal.set(\"testmap\",m);\nreturn null\n","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":854.9993896484375,"y":964.982421875,"wires":[[]]},{"id":"5c49ee580fc41d67","type":"change","z":"f1e84ae7.4dcf98","name":"get with string","rules":[{"t":"set","p":"payload","pt":"msg","to":"$globalContext(\"testmap\").get(\"MEQ0838051\")","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":895,"y":1086,"wires":[["e28f0de5eb5a8d25"]]},{"id":"c9776cce0d6852d7","type":"inject","z":"f1e84ae7.4dcf98","name":"string","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"MEQ0838051","payloadType":"str","x":633,"y":1135,"wires":[["5c49ee580fc41d67"]]}]