migrating stringify call for Box output to LaTeXML.pm