detect

Detect from the first ~8 bytes. JSON detection probes the first 256.