serialization: fix for saving world to different domain