JsonTree: add a getter for the current pointer into the tree

Necessary for reporting purposes.

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