export snapshot with exportVal instead of val

When an object with integers as keys was downloaded it was incorrectly converted to an array. Using the exportVal method to export data fixes this issue.

See issue #6 for reference.