Create proper payload for job/canceled and build/canceled events