def parse_tags(targs):
    """
    Tags can be in the forma key:value or simply value
    """
    tags = {}
    for t in targs:
        split_tag = t.split(':')
        if len(split_tag) > 1:
            tags['tag:' + split_tag[0]] = split_tag[1]
        else:
            tags['tag:' + split_tag[0]] = ''
    return tags