fixed /n issue

Can now send messages without /n breacking the json