Backport json cache keys (bst-1)

Changes how cache keys are serialized and fixes pickle malpractice (potential bugs).

Merge request reports

Loading