I would suggest to convert the library to pino transport using https://github.com/pinojs/pino-abstract-transport. Now it is very easy to crash a lambda after `JSON.parse` in the destination.ts is trying to parse a chunk containing smth like
{...}\n{...}