Spearman java deserialization and calculation