To access the dictionary inside the array you can follow the given steps. The first thing you have a 0-dimensional array of object dtype. This is the mistaking that you have made a 0-dimensional array, You can still use it by extracting the dictionary by indexing the array with a tuple of no indices:
x[()]
or by calling the array's item method:
x.item()