We can use existing encoding helper `output  = EncodingHelper.encode!(output)`?