function createNodeTransformer () {
  return new TypeTransformer({
    signature: NODE,
    isTypeInstance: object => object instanceof Node,
    toStructure: object => {
      throw newError(
        `It is not allowed to pass nodes in query parameters, given: ${object}`,
        PROTOCOL_ERROR
      )
    },
    fromStructure: struct => {
      structure.verifyStructSize('Node', NODE_STRUCT_SIZE, struct.size)

      const [identity, labels, properties] = struct.fields

      return new Node(identity, labels, properties)
    }
  })
}
Creates the Node Transformer
@returns {TypeTransformer}