add url to upload field; escape /'s in json