[ros] move helpers in morse.core.datastream