URL encode the JSON to make sure it is not broken by & in the JSON