implementing backbone and nodes as json