Serialize score