Add node type to dict passed to the API