issue-2: Updated toDictionary of SHNode to also include nodeType to the ...

...dictionary.