DRY up response data extraction