Change node attributes from array to hashmap. 
Add some filters.