Fhir path demo questin

On this link https://niquola.github.io/fhirpath-demo/#/

It shows the result as
[
“John”,
“John”
]

Should it be:
[
[“John”],
[“John”]
]

This behavior is by spec - all collections of collections are flattened (mapcated). Checkout the newer version of fhirpath.js - https://github.com/hl7/fhirpath.js/ !