HF RL Explorer

Update payload type in hooks and handle event

Update payload type in hooks and handle event: a task in github-trending-environments-10k (Harbor dataset). Title: Update payload type in hooks and handle event

The task

**Title:** Update payload type in hooks and `handle_event`

Part of scalingX/github-trending-environments-10k.