def metadata(js: false)
      url = send(:url)
      response = Filepreviews::HTTP.default_connection(url).get(nil)
      json = JSON.parse(response.body)

      js ? json : self.responsify(json)
    end
def metadata(js: false)
      url = send(:url)
      response = Filepreviews::HTTP.default_connection(url).get(nil)
      json = JSON.parse(response.body)

      js ? json : self.responsify(json)
    end
Returns metadata response using the url from first response
   flag is used to share this method with the CLI version (puerco, I know)
 @param js [Boolean] flag to enable json response
 @return [Filepreviews::Response] api response object