Fix the encoding of ExtraData for session information.