Update serialization for TakeScreenshot