Remove dead code
Better output as String formatting

- add test case for ModuleDefResult (object)
- add test case for simple value definition on multiple lines
- implemented above test cases
- chaged attribute name from inner to rhs and body