change filter to stream keys and values