set charset to utf-8
add asArray method to retrieve a node as an array instead of a chain of objects