def _encodeList(l):
    """Check for binary arrays in list and tries to decode to string

    Args:
      l ([]): list to seach

    Returns:
      :[]: original list with any byte array entries replaced with strings
    """
    for i in range(len(l)):
        if type(l[i]) is bytes:
            l[i] = l[i].decode()
    return l