Migrate payload parsing to subtext with multipart support via pez

Closes #1996 
Closes #1997 
Closes #1923