MORTEVIELLE: Move misc functions from Mortevielle to Utils