refactor response retrieval from cassette