Parses a raw API response into an HTTRENDLINEResponse.
the parsed response
the raw parsed JSON response