pub fn to_json(survey: &Survey) -> Value
The survey as a structured JSON value, each metric block tagged with the honesty class it belongs to (so an exact line count is never read as a heuristic test count).