Get schema in JSON form.