Add a newline after JSON serialization

In the case 'json_logstash' serializer is used, have the serialize_data() method append a newline to the result of the serialization.

Adding this newline has the effect of producing content that will be readable by logstash, as logstash needs to parse content line by line.