peltool: Change getTextJSON() to split by newlines
peltool: Change getTextJSON() to split by newlines

This changes getTextJSON to split the input data using newline as
separator instead of doing line breaks every 60 chars.

Input = "This is a line\nThis is another line"

Output =

"Data": [
    "This is a line",
    "This is another line"
]

Signed-off-by: Harisuddin Mohamed Isa <d8aeb45f758103e2ef97301d25493eb8a54a9484@gmail.com>
Change-Id: I3caedfbb075c10da96ee39e36367d2198b76b4b6

openbmc/phosphor-logging,openbmc/phosphor-logging,openbmc/phosphor-logging,openbmc/phosphor-logging