JsonValidator: remove static extractDollarSchema method

Use the one from SchemaTree instead.

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