JsonCache class should not probably be used together with Gitlab::SafeRequestStore backend at all
The data is stored during one request so it probably makes no sense to use JsonCache
for this backend.
related https://gitlab.com/gitlab-org/gitlab-ce/issues/63510 and https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/8802