Json Write Dict With Numpy Array Indexing