JsonPointer: make .asElements() return a List

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>