Added listify/delistify to slice an array up into lists to allow pickling of very large arrays