Map<String, Object?> toJson() { return { 'bootstrap': bootstrap.toJson(), 'version': version.toJson(), }; }