Only encode items into utf-8 if there's an issue returning them.