+act Add japi.Pair and japi.Predicate for streams (for validation)

(cherry picked from commit 42ce37bb57884c7051d46a1e80b4a4ba4187adf4)