code: function processRetrievedContent(content, filePrismicMetadata, queryKey, ctx) {
              if (content.results != null && content.results.length > 0) {
                  var queryMetadata = filePrismicMetadata[queryKey];
                  for (var i = 0; i < content.results.length; i++) {
                      var result = processRetrievedDocument(content.results[i], filePrismicMetadata, queryKey, ctx);
                      filePrismicMetadata[queryKey].results.push(result);
                  }
              }
          }
docs: processes the retrieved content and adds it to the metadata