Extract getPayload method to helpers
What does this MR do and why?
Extract the getPayload method to its own helper for better reusability across files
Related to #446173 (closed)
Extract the getPayload method to its own helper for better reusability across files
Related to #446173 (closed)