add payload extract function

25 jobs for !19 with master in 2 minutes and 58 seconds (queued for 6 seconds)
merge request