Ignore json_encode errors
Update LineFormatter.php
Merge remote-tracking branch 'wiistriker/patch-1'
Ignore errors on 5.3 as well
Only serialize things if needed