value is byte array, key is string