Refactor to use Moo instead of Any::Moose

see RT#82888