Start to depend on json-schema-core, and first cleanup

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