def process_dom dom
      case dom
      when String
        dom
      when Array
        dom.join(" ")
      when Hash
        process_hash_dom(dom)
      end
    end
def process_dom dom
      case dom
      when String
        dom
      when Array
        dom.join(" ")
      when Hash
        process_hash_dom(dom)
      end
    end
Process string and array input of the likes of project:Work or
 description.contains:yolo

 @param dom [String, Array<String>, Hash]
 @api public