MultiJson.encode(record) + "\n" makes less garbage.