Check that second argument to macros is a symbol

Fixes #9
Update declaration of dump() for changes in Julia