* DRY code: trigger JSON events in webbee.