Adds default values to the InsertID and DeviceID similar to how the webapp behaves for backend generated events. This is required such that downstream consumers can deduplicate these events.
Test plan
Started Sourcegraph and ensured all backend events were inserting with ids