set serialisation mode to text