Only accept bytes for keys and values