Some more code changes in JsonFragment and derivates

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