Fix for multidimensional arrays.

getSchemaKey did a single replace of "[]" with ".items". When searching for "blah[][]", the result was "blah[].items" and needed to be "blah.items.items". The methond now iteratively replaces each instance of "[]" with ".items".