Possible to export message payload in queue level

Looks like sdkperf is your friend. Try

Sdkperf -cip -cu username@vpn -cp -sql -qb -md.

If you have 20k messages you might want to redirect the output to a file.