Express middleware to send JSON logs to Loggly