converting the data to be imported in neo4j