Update -validator dependency to 2.1.2, adapt code

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>
Update json-schema-avro dependency

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