fixed the curl command generation for multi-line request bodys