* Get the child elements of the given HTMLElement and finds the attribute using the given key. It then puts all those objects in an object for quick access
* This only will give the expected results if all values for the keys are unique
* @param {HTMLElement|DocumentFragment|Document|ShadowRoot} inputHTMLElement The HTMElement that contains the children for which we want to retrieve the keys
* @param {string} tag The attribute tag for which we are building this object (e.g. 'id')
* @returns {object} An object where each member references the HTMLElement that had the attribute with the given tag, attributes with dashes are converted to camel case