public function createNewNode(stdClass $jsonNode) {
    $nodeClass = $this->container->getRoleFQN('NavigationNode');
    $node = new $nodeClass((array) $jsonNode->title);
    $node->generateSlugs();
    $defaultSlug = current($node->getI18nSlug());  // not matter what current language is, this is the default language

    $page = $this->createNewPage($defaultSlug);
    $this->dc->getEntityManager()->persist($page);

    $node->setPage($page);

    return $node;
  }