first cut of json diagnostics