Print server response. Add helper functions