More code changes to JsonTree and derivates

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