Specify AJAX return datatype as text in API docs