def _get_key_and_item(line):
    """ Return key and item from a line"""
    key, item = line.split("=", 1)
    key, item = key.strip().lower(), item.strip()
    if not item:
        pass
    elif not any(char in item for char in [":", "'", " "]):
        item = eval(item)
    else:
        item = item.strip().strip("'")
    return key, item