send params in json format on $.ajax