Reorganize results for getClassDescription for better error handling