Added newline symbols replace

Fix problem with large json reports