[GERONIMO-6776] adapting patch from Antoni Reus to set an encoding in OpenAPIMojo for the dumped file