fn build_bulk_body(entries: &[Value]) -> Bytes
Serializes a batch as newline-delimited JSON, the format the Loggly bulk endpoint expects. Factored out for unit testing.