set dataType "json" for AJAX requests, closes #60