return json from schema registration endpoint