changed swap to adequate to changes to load and dump.
Merge pull request #8 from rbkloss/ricardo

changed swap to adequate to changes to load and dump.