dump keys as list, not set

This is more robust to systems that aren't pickle
test that del preserves data on given paths
add mode kwarg.  Test that JSON works