def tup_to_readable_tup(tup):
    """
    For some reason, MySQL fetch will return string data as bytearray.
    This method returns a tuple with readable strings.
    :param tup: A tuple that was fetched from MySQL db. It will contain bytearrays instead of strings.
    :return: A tuple with readable strings instead of bytearrays.
    """
    def byte_lst_to_readable(itm):
        if type(itm) == bytearray:
            return itm.decode()
        return itm

    return tuple(map(byte_lst_to_readable, tup))