[oldlogstashjson] append newline to encoded json