Parse class names from a string value.
Supports formats:
Python dict: {0: 'person', 1: 'bicycle'}
{0: 'person', 1: 'bicycle'}
Comma-separated: person,bicycle,car
person,bicycle,car
Map of classId to className, or null if parsing fails
The string value to parse