Class StringApproximateMostFrequentStateSerializer