def to_string(x):
    """
    Utf8 conversion
    :param x:
    :return:
    """
    if isinstance(x, bytes):
        return x.decode('utf-8')
    if isinstance(x, basestring):
        return x
Utf8 conversion
    :param x:
    :return: