Makes array compatible lists from raw input