Added generic obj parse in JSONDefGen

+verify obj
+new test module: 'Module'
fixed some minor bugs,