title: Neo4j Java Bolt Driver: Creating node with many properties
body: <p>I'm trying to create a node that has many properties using the Neo4j Java Bolt driver. My code currently looks like this:</p>
  
  <pre><code>String statement =                                                        
        "   CREATE (p:Person {id: {id}, firstName: {firstName}, lastName: {lastName}, gender: {gender}, birthday: {birthday}, creationDate: {creationDate}, locationIp: {locationIp}, browserUsed: {browserUsed}, speaks: {speaks}, emails: {emails}})";
  String parameters = parameters(                                           
        "id", String.valueOf(operation.personId()),                           
        "firstName", operation.personFirstName(),                             
        "lastName", operation.personLastName(),                               
        "gender", operation.gender(),                                         
        "birthday", operation.birthday().getTime(),                           
        "creationDate", operation.creationDate().getTime(),                   
        "locationIP", operation.locationIp(),                                 
        "browserUsed", operation.browserUsed(),                               
        "speaks", operation.languages(),                                      
        "emails", operation.emails());
  
    try (Session session = driver.session(AccessMode.WRITE)) {                 
      try (Transaction tx = session.beginTransaction()) {                     
        StatementResult result = tx.run(statement, params);                   
        tx.success();                                                         
        tx.close();                                                           
      }                                                                       
    }
  </code></pre>
  
  <p>But using HTTP and JSON, it's possible to simplify the statement to:</p>
  
  <pre><code>String statement =                                                        
        "   CREATE (p:Person {props})";
  </code></pre>
  
  <p>And send a JSON object that's something like:</p>
  
  <pre><code>{props: 
      {id: bla, 
       firstName: bla,
       lastName: bla,
       ...
       }
  }
  </code></pre>
  
  <p>Is there a way in the Neo4j Bolt driver API to use this latter version of the <code>CREATE</code> statement and supply parameters as a map?</p>