Add response printing functionality