Rename API.getSegmentsMetadata hook to API.getSegmentDimensionMetadata