Some events firing twice

My webhook configuration in event_map:

"company/product/update": {
                "handler": productHandler,
                "version": '2'
            },
            "company/product/create": {
                "handler": productHandler,
                "version": '2'
            },

I am getting 2 events for these two events, I have other events configured as well but they work as expected. When I check the difference between the payloads, I figured that trader information is different
trader={name=Visenze, address=Singapore}, trader_type=null}
trader=[{address=[Singapore], type=Importer, name=Visenze}]}

Due to the webhook handler event handling two different formats of payloads originating from different sources, the difference is in the trader_type field, which comes from different sources. This is why the product_create/product_update event is firing twice.

There is no issue with the event firing twice . I have checked other extensions. The payloads are coming same format.