new JSON (and JSON schema) libraries for discovery module