json: stand-along getDocstring for debugging
generate json enums/functions/classes for correct modules
fix indentation (3 spaces -> 2)
json: fix baselist