Modify printlog output so that arbitrary strings are shown
as using the JSON Unicode standard. refs #1438.