fixed typo in json dumps of np.array