Fix Gitlab/JsonSafeParse rubocop violations
Epic to track and fix all violations of the Gitlab/JsonSafeParse rubocop rule introduced in MR !215073. This rule encourages the use of `Gitlab::Json.safe_parse` over `Gitlab::Json.parse` for parsing untrusted JSON input with built-in size and depth limits. This is recommended in our secure coding guidelines, with a bigger explanation of the problem it solves: https://docs.gitlab.com/development/secure_coding_guidelines/#json-parsing See: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/215073
epic