Trying to fix Object-oriented Mojo::JSON API is DEPRECATED