Fix line delimited JSON response Upstream-commit: 2360d4a4405e8f81ec2263ca64e2dc3d65357dd6 Component: engine