Port of Python's Element Tree module to Node.js