toJSON missing in Animation clips

I have an animated character, and was under the assumption that it’s ‘animation’ property holds the animationClip objects.

When I inspect the animations property in the console log, I see an array of objects that have everything I would expect from an animationClip object: a duration, an array of data and so on. But it does not seem to have the toJSON method.

I tried to call it, but it is not there. The manual says it should have that method.

How do I get a valid animationClip object from my animated character?