[extractor/generic] Properly extract format id from Content-Type