def get_header(results):
    """Extracts the headers, using the first value in the dict as the template."""
    ret = ['name', ]
    values = next(iter(results.values()))
    for k, v in values.items():
        for metric in v.keys():
            ret.append('%s:%s' % (k, metric))
    return ret