Don't use JSON parsing to struct for incoming params.

We need to handle multipart as well as json.