Added progress reporting to serialization process.