title: How do I create a node with Label via REST API in Neo4j 2.0
body: <p>I have been searching for info on this but to no avail... yet. How do I create a new node complete with a label in one swoop using the Rest API? Right now, the only way I can seem to accomplish this is using the code below.</p>
  
  <pre><code>        try (Transaction tx = gd.beginTx()) {
              Map&lt;String, Object&gt; props = new HashMap&lt;&gt;();
              //do stuff with props...
              RestNode node = gd.createNode(props);
              node.addLabel(Labels.Person);
              log.debug("Node: username - " + node.getProperty("username")
                      + " added");
              tx.success();
          }
  </code></pre>
  
  <p>When I want to insert, say 100 nodes using this approach, I feel I should be able to do without the extra call to add the label. Anyway I can optimise this?</p>
  
  <p>Thanks.</p>