When extracting metadata only - returning hash map, where key is id of document, and value is object with metadata