Remove pretty print in list, causing parsing issues