Changed serialization from binary to text