unpack-stream-map takes number of key-value pairs