Add support for some weird class names when $ symbols are left over from xml to json conversion
Fix a crash when a member is an empty object.