code: function ReadPDFNode(params) {
          // FIXME:Cleanup
          // console.log('ReadPDFNode Called');
          let node = this;
          node.log(JSON.stringify(params));
          RED.nodes.createNode(this, params);
          this.name = params.name;
          this.location = params.location;
          this.locationType = params.locationType;
          this.preprocess = params.preprocess;
          this.store = params.store;
          this.storeType = params.storeType;
          this.waitfor = params.waitfor;
  
          this.on('input', function(msg) {
              if (msg.error) {
                  // FIXME: Add error handling here
              } else {
                  node.actionType = 'read';
                  node.log('ReadPDFNode Received Input');
                  // node.log(JSON.stringify(params));
                  node.log(JSON.stringify(msg));
                  getPdfAsJson(node, msg);
              }
          });
      }
docs: Handles the ReadPDFNode node
  FIXME: Move this helper to a generic RED.utils like location so that
  it can be used across nodes
  @function
  @param {object} params - params passed during creation.