function extract(payload) {
  var documentURL = '';

  if (payload.hasOwnProperty('document-url')) {
    documentURL = payload['document-url'];