def formatted(metadata):
    """Reformats key, value metadata to be written into the
    9th column.
    """
    out = ''
    for k,v in metadata.items():
        out += '{} "{}"; '.format(k,v)
    out = out.rstrip(' ')
    return out