Fix parse issues with multiple quote-types and escaped quotes

Fixed issues parsing things like `--data '{"url": "http://example.com"}'` and `--data "{\"url\": \"http://example.com\"}"`.