ConfiguredObjectMapper class not found

I have run into an issue in Scriptrunner where the Rest Endpoints page won’t load. It just sits there with the spinning circle and never loads.
This started happening after I made an update to one of the Rest Services.

I found the following documentation that describes a way to manually delete Rest Endpoints in order to resolve this:

In this documentation it has a console script that I can run to get the ID’s of the Rest Endpoint, but I am not able to execute it because one of the imports is not resolved:

import com.onresolve.scriptrunner.canned.ConfiguredObjectMapper

I am trying to run this on Confluence server 8.3.2

Has this class been moved, or is there some replacement class that should be used instead?

For anyone with this issue, the following works to modify the documented script to run it

Use this import:
import com.fasterxml.jackson.databind.ObjectMapper

And instantiate it like this
def objectMapper = new ObjectMapper()