Call toJSON method from prototype Object class

:question: I'm not sure what this is fixing?