Serialize codeforces object