Utility to split a string into list of lists of strings (how can I test this??)