Refactor response handling

Handle responses similar to how all other integrations do it