This method had a buffer argument, but that was nil at all call sites. That's removed, and instead LoadUnpacked now reuses whatever it allocates inside its retry loop.
A Load/Store method for each data type is much clearer. As a result the repository no longer needs a method to load / store json.