Making comparable comparatorimplement serializable