JsonValidator: remove unneeded code

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