Fix #1427: `--debug` output is unreadable when providers contain binary data.