Fix of a bug that was encountered working on MASS-125. When submitting files, the POST request is sent in multipart mode, so the JSON metadata has to be encoded separately. This is now achieved by using the form variable metadata, which should contain the JSON-encoded metatdata content.
Fix of a bug that was encountered working on MASS-125. When submitting files, the POST request is sent in multipart mode, so the JSON metadata has to be encoded separately. This is now achieved by using the form variable metadata, which should contain the JSON-encoded metatdata content.

mass-project/mass_server,mass-project/mass_server,mass-project/mass_server,mass-project/mass_server,mass-project/mass_server