Enhance API response handling by storing responses in context and updating request logger to include API responses