Querying for all unique key-value pairs in an array property across all documents

Please read Formatting code and log snippets in posts and update your sample documents so that we can cut-n-paste into our servers for experimentation.