https://techiworks.com/create-two-dimensional-array-json-javascript-selected-key/