Reduce DataSegment memory usage

Use canonical Strings to store dataSource, dims and metric names
instead of storing repeating strings, helps in reducing memory usage of
coordinator when storing tons of DataSegment objects.
:+1: I was wondering about that part. Good to know that's the exact case handled here.