switch to JSON for annotated schema graphs