I would like to convert such a string "[[[1 2 3]\\n [2 3 4]]]" into a numpy array [[[1,2,3],[2,3,4]]]. How may I go about doing this in Python?