Bug: Another  JSON problem with the addition to work around corrupt pickles