This has been moved to framework in https://github.com/ppy/osu-framework/pull/4285.
Not sure why these aren't being detected on master right now - they should be...
Also fixes circular references when using IJsonSerializable.