Added: basic support for transform func in
    fromStreamCatalog(stream, transformFunc)