Added JSON.stringify() to sent arrays