Fix encoding issues in nested output

This fixes #15542
Merge branch 'b2' into develop

Conflicts:
	salt/output/nested.py