Clean up the curl output