pretty print curl session and curl response