Updated event schema. Added configurable "record" key (scripting.payload_key) in common.config.php and usage support in ScriptEvent.