Move trigger-event down and remove the declare
Add test for de-parse
Rename de-parse to compose
Use when instead of if
Do more formatting in 'compose'
Fix 'ping-pong to use the new messages param
Flatten the data inside 'trigger-event
Move code around to be more logical
Declare 'trigger-event to fix compilation
Make 'trigger-event private