fix metrics de-serialization for bySegment results
add comment about de-serialing bySegment