Mors payload parsing middleware