I am not an English major, but on reading this, the comma here:
`for each deal, in the JSON response`

doesn't feel right to me.  It feels like it interrupts the sentence in the middle of a statement.

Could somebody else please weigh in on this?  I think the comma does not belong here and should be removed.