Added methods and tests for object serializion on data sets