Convert session duration metrics from seconds to milliseconds.

def convert_durations(metric):
    """
    Convert session duration metrics from seconds to milliseconds.
    """
    if metric[0] == 'avgSessionDuration' and metric[1]:
        new_metric = (metric[0], metric[1] * 1000)
    else:
        new_metric = metric
    return new_metric