Project serialization and cleanup