Data classes for the new JSON output format.