Added new function to return all of a nodes attributes