Fix bySegment metrics de-serialization

it's not possible here, because the resulting type is not Sequence<T>