Changed the format of Thread seralization in the engine.