Passed what type of element is being encoded (channel or item) down through the pipe. This way, once we get to encodeArray, channel elements aren't restricted or data mapped.