shortened dump_generic()
shortened dump methods
Added comment for dump() method, improved code
Merge pull request #1 from davipo/master

Shortened dump methods