def parse_string(data, *, default=None):
    """
    Parse data into string type
    :param data: the data to be parsed
    :param default: value if data is None or empty
    :return: converted data
    """
    if data:
        return str(data)
    else:
        return default