fix back compat with 2nd perl_to_xml param being hashref for root element; release 0.90