removed use Encode in favour of Mojo::Util::encode