Fine tune some libjson configs.
Raise reasonable exception when input is not valid json.
Fix enum tests.
Read enums from json.
Remove struct/class from type strings.
Prevent nested classes with the same name as parent.
Generate the dump dir.