collapse loals values for streaming object