ensure that an empty listener stats dict is not sent to the server