Set AJAX content type to JSON