Helper to use object streams to load the datasets