fix: resolve infinite recursion in Repository.UnmarshalJSON (#1001)
This fixes a bug caused by jsonv2 json.Unmarshal() behavior that is not backward compatible.
The infinite recursion occurs when UnmarshalJSON calls json.Unmarshal on itself.
See: https://github.com/golang/go/issues/75361