Making RTSMessage serializable