fix json renderer does not return valid json if message contains text like "Piwik\Plugins\Foobar\Piwik_AddMenu()"