Implemented get_type() for retrieving all parent types of the
object.
Improved dump() funciton. Only one issue left with dictionaries and
enumerations.