apply json_clean to comm_msg content

avoids errors in json encoding.

The same code that is applied to other user-generated json content.

closes #5809