Index: xmlrpc.php
===================================================================
--- xmlrpc.php	(revision 6349)
+++ xmlrpc.php	(working copy)
@@ -547,8 +547,14 @@
 			return($this->error);
 		}
 
+		$category_suggestions = array();
 		$args = array('get' => 'all', 'number' => $max_results, 'name__like' => $category);
-		$category_suggestions = get_categories($args);
+		foreach ( (array) get_categories($args) as $cat ) {
+			$category_suggestions[] = array(
+				"category_id"	=> $cat->cat_ID,
+				"category_name"	=> $cat->cat_name
+			);
+		}
 
 		return($category_suggestions);
 	}
