transform csv stream into stream of array objects