improved walk over metadata
dump class definition correctly
cleanup metadata display
make dumpType recursive
make dumpTref
simplified dictionary for types