Fixed sending arrays using POST method

Sending an array as one of params dict items through ajax was done in incorrect way. A text representation of list was sent, instead of sending each item under the same (list's) key