A test for control chars in JSON attributes