Flat Map Function In Stream Hydro