Changed to text serialization.