Add JWR to resolveOrReject function

Data only holds the JSON. We need the JWR for the `header`, `statusCode`, and `body` (which is `data`)