The wire shape.
Json toJson() => compact({'id': id, 'platform': platform, 'version': version, 'sdk': sdk});