export interface DataFormatter { contentType?: string; parse(data: string): T; serialize(data: any): string; }