added generic implode from XML documented to node and str
fixed unused import