Fixed serialization of ``longrepr.sections`` during error reporting from workers.