no json streams' output with 0 processed events
also make sure that delete is called with 0 events
Merge pull request #6243 from smorovic/json-suppress-empty-ls-73X

JsonMonitoring additional fixes (forward-port to 73X)