"Invalid JSON" when importing redirects

When importing a redirect CSV where paths have spaces in thenm, the dashboard errors out with “Invalid JSON”

image