Refactor|libcommon: Implement player (de)serialization in C++, with Reader/Writer