New method convertFromBuffer added to xml2json. It takes an arrayBuffer rather than a string representing the xml.