switching to text serilization mode.