Clean up build event payload.

Exclude source_key, reinsert some commented-out tests, remove
stale code.