libcommon|GameSessionWriter|MapStateWriter: Relocated map state serialization from the session writer