JASCIS-74: Added 'extract --send-to-index' command which extracts metadata and indexes it without writing to disk. Refactor the JSON query generator.