[extractor/generic] Ensure format id is unicode string