Forcing json data type in ajax request.