Normalize configuration to single-quotes before sending it. fixes #448

Bug comes from generating the upload form. When we append double quotes the HTML markup breaks so all the fields after the double quotes get lost.

My approach is to normalize the quotes in the config file so, if an user adds double-quotes we convert them to single ones before sending the config to the server.