moved namespace definition to dump method
previous commit fix
Merge pull request #3 from younes0/master

Moved namespace definition to dump method