cpp: Switched back to text serialization

Text serialization was causing exceptions in codec