Modified this route, and was successful
route()
.from("/delorean")
.on(RequestMethod.GET).produces(MediaType.JSON.toString())
.to(Home.class).anotherPage();
Kept getting the same error with this one though
route()
.from("/cars")
.on(RequestMethod.GET)
.produces(MediaType.JSON.toString())
.to(Home.class).anotherPage();