Added namespace removal to deserealization