Bug fixes for SPARQL and JSON validators.