Added makeNodeFromJson method.

Enabling json import.