swapping for json from buggy pickle module