added support for the multidimensional case obj["a"]["b"]["c"]